home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / others / ole_101.zip / SCHMOO.ZIP / OLEINST.H < prev    next >
Text File  |  1992-04-13  |  1KB  |  38 lines

  1. /*
  2.  * OLEINST.C
  3.  *
  4.  * OLE-Specific installation data types and function prototypes.
  5.  *
  6.  * Copyright(c) Microsoft Corp. 1992 All Rights Reserved
  7.  *
  8.  */
  9.  
  10. typedef struct
  11.     {
  12.     LPSTR       pszServerName;      //Full server name.
  13.     LPSTR       pszServerClass;     //Short server class name.
  14.     LPSTR       pszServerPath;      //Full path to server module.
  15.     LPSTR       pszHandlerPath;     //Optional Full path to object handler DLL.
  16.     LPSTR       pszExt;             //File extension for the server.
  17.     LPSTR      *ppszVerbs;          //Pointer to array of LPSTRs to verbs.
  18.     WORD        cVerbs;             //Number of verbs in array.
  19.     LPSTR       pszSetFormats;      //Optional CSV list of accepted formats.
  20.     LPSTR       pszRequestFormats;  //Optional CSV list of requestable formats.
  21.     BOOL        fExecute;           //Is OleExecute supported?
  22.     } REGINSTALL;
  23.  
  24. typedef REGINSTALL FAR *LPREGINSTALL;
  25. #define CBREGINSTALL sizeof(REGINSTALL)
  26.  
  27.  
  28. //Function prototypes
  29. BOOL     FAR PASCAL FRegDBInstall(void);
  30. BOOL     FAR PASCAL FOLEServerInstall(LPREGINSTALL);
  31. BOOL         PASCAL FKeyCreate(LPSTR, LPSTR, LPSTR);
  32.  
  33.  
  34. //Verbs
  35. #define OBJVERB_EDIT    0
  36. #define OBJVERB_PLAY    1
  37. #define OBJVERB_MAX     1
  38.